// File: pdp8progs/test_clear_and_complement.pal -*- mode:asm; -*-
// Testing:
//	CLA -- Clear accumulator
//	CMA -- Complement accumulator
//	CLL -- Clear link register
//	CML -- Complement link register
// Copyright (c) 2010 Radek Hnilica

	*0
START,	TAD N5252	/ AC=5252
	CMA		/ AC=2525
	CLA		/ AC=0
	IAC		/ AC=1
	RAR		/ L=1, AC=0
	CLL		/ L=0
	CML		/ L=1
	RAL		/ L=0, AC=1
	NOP

	*70
N5252,	5252
	$
